package com.pactera.asmp.server.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.pactera.asmp.server.entity.ProductionLineHistory;
import com.pactera.asmp.server.entity.ProductionLineHistoryExample;

@Mapper
public interface ProductionLineHistoryMapper {
    long countByExample(ProductionLineHistoryExample example);

    int deleteByExample(ProductionLineHistoryExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(ProductionLineHistory record);

    int insertSelective(ProductionLineHistory record);

    List<ProductionLineHistory> selectByExample(ProductionLineHistoryExample example);

    ProductionLineHistory selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") ProductionLineHistory record, @Param("example") ProductionLineHistoryExample example);

    int updateByExample(@Param("record") ProductionLineHistory record, @Param("example") ProductionLineHistoryExample example);

    int updateByPrimaryKeySelective(ProductionLineHistory record);

    int updateByPrimaryKey(ProductionLineHistory record);
}